package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 优惠券表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@Accessors(chain = true)
@TableName("bus_coupon")
@TableAlias("coupon")
@ApiModel(value = "BusCoupon对象", description = "优惠券表")
public class BusCoupon {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "couponId", type = IdType.ASSIGN_ID)
    private Long couponId;

    @ApiModelProperty(value = "商店id")
    private String shopId;

    @ApiModelProperty(value = "排序")
    private Integer couponSort;

}
